<div class="contents">
  <ol class="breadcrumb">
    <li><a href="#/index/panel">首页</a></li>
    <li><a href="#/withdraw/list">提现列表</a></li>
    <li class="active">提现详情</li>
  </ol>
  <div class="row">
    <div class="col-xs-6">
    <table class="table table-striped table-hover ">
      <tbody>
        <tr>
          <td width="120" class="text-muted">ID</td>
          <td>{{withdraw.id}}</td>
        </tr>
        <tr>
          <td class="text-muted" >登录名</td>
          <td>{{withdraw.loginName}}</td>
        </tr>
        <tr>
          <td class="text-muted" >银行</td>
          <td>{{withdraw.bankType | bankTypeRender}}</td>
        </tr>
        <tr>
          <td class="text-muted" >卡号</td>
          <td>{{withdraw.cardNumber}}</td>
        </tr>
        <tr>
          <td class="text-muted" >账户名</td>
          <td>{{withdraw.userName}}</td>
        </tr>
        <tr>
          <td class="text-muted" >提现金额</td>
          <td>{{withdraw.withdrawAmount | moneyRender:1:1}}</td>
        </tr>
        <tr>
          <td class="text-muted" >申请提现时间</td>
          <td>{{withdraw.createDate | date:'yyyy-MM-dd HH:mm:ss'}}</td>
        </tr>
        <tr>
          <td class="text-muted" >最后处理时间</td>
          <td>{{withdraw.updateDate | date:'yyyy-MM-dd HH:mm:ss'}}</td>
        </tr>
        <tr>
          <td class="text-muted" >状态</td>
          <td class="withdraw-status-{{withdraw.withdrawStatus}}">{{withdraw.withdrawStatus | withdrawStatusRender}}</td>
        </tr>
        <tr>
          <td class="text-muted" >备注</td>
          <td>{{withdraw.remark}}</td>
        </tr>
      </tbody>
    </table>
    </div>
    <div class="col-xs-1"></div>
    <form class="form-horizontal col-xs-5" role="form" name="form" ng-submit="save()" novalidate ng-show="withdraw.withdrawStatus == '01'">
      <legend>修改提现申请状态</legend>
      <div class="form-group mt-10" ng-class="{'has-error':form.withdrawStatus.$invalid}">
        <label for="advertTitleInput" class="col-sm-2 control-label">状态</label>
        <div class="col-sm-5">
          <select class="form-control" ng-model="item.withdrawStatus" name="withdrawStatus" ng-options="m.value as m.text for m in dictMap['withdrawStatusModel']" required="required"> </select>
        </div>
      </div>
      <div class="form-group" ng-class="{'has-error':form.remark.$invalid}">
        <label for="advertTitleInput" class="col-sm-2 control-label">备注信息</label>
        <div class="col-sm-5">
          <textarea class="form-control" id="advertTitleInput" placeholder="备注信息" name="remark" ng-model="item.remark"></textarea>
        </div>
      </div>

      <div class="form-group">
        <div class="col-sm-offset-2 col-sm-5">
          <button type="submit" class="btn btn-primary">保存</button>
        </div>
      </div>
    </form>
  </div>

	<div class="pager-box" ng-include src="'tpl/public/pager.html'" ng-show="list.length > 0"></div>
</div> 

